﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="order_show.aspx.cs" Inherits="Com.CMS263.Web.manage.OrderManage.order_show" %>

<%@ Import Namespace="Com.CMS263.PO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台-产品管理</title>
    <link href="/manage/css/common.css" rel="stylesheet" type="text/css" />
    <link href="/manage/css/main.css" rel="stylesheet" type="text/css" />
    <link href="/manage/css/box.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="/manage/js/common.js"></script>

    <script language="javascript" type="text/javascript" src="/manage/js/jquery-1.4.2.min.js"></script>

</head>
<body>
    <form id="form1" name="form1" runat="server" action="" enctype="multipart/form-data"
    method="post">
    <div class="main">
        <div class="mainMenu">
            <div class="mainMenuList">
                <ul>
                    <li class="s"><a href="#"><b>查看订单</b><span></span></a></li>
                </ul>
            </div>
        </div>
        <div class="mainContent">
            <div class="con1 productForm">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
                    <tr>
                        <td width="180" class="r">
                            *订单编号：
                        </td>
                        <td>
                            <%=ab.OrderNum %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *客户联系方式：
                        </td>
                        <td>
                            <%CustomerList cucu = (CustomerList)custbll.FindModelById("CustomerList", ab.UserId);%>
                            <%=cucu.Mobile %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典规模：
                        </td>
                        <td>
                            <%=ab.MystyleId %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典婚纱：
                        </td>
                        <td>
                            <%=GetProductTitle(ab.HunsId)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典喜酒：
                        </td>
                        <td>
                            <%=GetProductTitle(ab.XijiuId)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典珠宝：
                        </td>
                        <td>
                            <%=GetProductTitle(ab.ZhubaoId)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典喜帖：
                        </td>
                        <td>
                            <%=GetProductTitle(ab.XitieId)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典礼品：
                        </td>
                        <td>
                            <%=GetProductTitle(ab.LipinId)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典风格：
                        </td>
                        <td>
                            <%Com.CMS263.PO.ArtBase artb = abbll.GetArtBaseById(ab.FgId); if (artb == null) { artb = new Com.CMS263.PO.ArtBase(); } %>
                            <%=artb.title %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *婚典吉日：
                        </td>
                        <td>
                            <%=ab.MarryDate.ToString("yyyy年MM月dd日") %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *订单提交时间：
                        </td>
                        <td>
                            <%=ab.AddDate.ToString() %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *订单价格：
                        </td>
                        <td>
                            ￥<%=ab.OrderPrice %>
                        </td>
                    </tr>
                    <tr>
                        <td width="180" class="r">
                            *订单状态：
                        </td>
                        <td>
                            <span style="color: Red">
                                <% if (ab.State == 1)
                                   { %>成功订单<%}
                                   else if (ab.State == 2)
                                   { %>等待审核<%}
                                   else if (ab.State == 3)
                                   {%>待支付定金
                                <%}
                                   else if (ab.State == 4)
                                   {%>待支付尾款<%} %>
                            </span>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bar1">
                喜帖定制信息</div>
            <div class="con1 productForm">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
                    <tr>
                        <td class="r">
                            *用户图片：
                        </td>
                        <td>
                            <img src="/ArtUpFile/<%=xxinfo.FilePath %>" />
                        </td>
                    </tr>
                    <tr>
                        <td class="r">
                            *新郎姓名：
                        </td>
                        <td>
                            <%=xxinfo.Men %>
                        </td>
                    </tr>
                    <tr>
                        <td class="r">
                            *新娘姓名：
                        </td>
                        <td>
                            <%=xxinfo.Women %>
                        </td>
                    </tr>
                    <tr>
                        <td class="r">
                            *定制说明：
                        </td>
                        <td>
                           <%=xxinfo.Con %>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bar1">
                订单修改</div>
            <div class="con1 productForm">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
                    <tr>
                        <td class="r">
                            *订单状态：
                        </td>
                        <td>
                            <select name="txtBatch" id="txtBatch" class="input1" style="width: 155px">
                                <option value="2">不通过审核</option>
                                <option value="3">通过审核</option>
                                <option value="4">定金支付成功</option>
                                <option value="1">成功订单</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="con1 productFormBtn cf">
                <div class="btn3">
                    <asp:Button ID="btnSave" runat="server" Text="修改" OnClick="btnSave_Click" OnClientClick="return checkForm()" />
                </div>
            </div>
        </div>
    </form>
</body>
</html>
